package com.gradecak.alfresco.mvc.domain;

import org.alfresco.model.ContentModel;

@SuppressWarnings("serial")
public class User extends AbstractAlfrescoObject {

  public User() {
    contentObject.addReadOnlyProperty(ContentModel.PROP_NAME);
  }

  public String getFirstName() {
    return (String) contentObject.getProperty(ContentModel.PROP_FIRSTNAME);
  }

  public String getLastName() {
    return (String) contentObject.getProperty(ContentModel.PROP_LASTNAME);
  }

  public String getEmail() {
    return (String) contentObject.getProperty(ContentModel.PROP_EMAIL);
  }

  public String getUserName() {
    return (String) contentObject.getProperty(ContentModel.PROP_USERNAME);
  }
}
